import re
msg="1234@qq.com asd dsad dsa asdf@163.com 223344@172.com"
match=re.findall(r'\w+@\w+.com',msg)
print(match)